<template>
  <Com class="jimu-header">
    <div class="header-left">
      <slot name="left"></slot>
    </div>
    <div class="header-right">
      <slot></slot>
    </div>
  </Com>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import Com from '../../common/Com.vue'

export default defineComponent({
  name: 'JimuHeader',
  components: {Com}
})
</script>

<style lang="scss" scoped>
.jimu-header{
  height: 50px;
  width: 100%;
  display: flex;
  background: #282b33;
  color: #adb0b8;
  align-items: center;
  padding: 0 10px;
  justify-content: space-between;

  .header-left{

  }
  .header-right{

  }

  :deep(.el-menu--horizontal>.el-sub-menu .el-sub-menu__title){
    height: 50px;
    line-height: 50px;
  }
}
</style>